<!--{template admin/header_tpl}-->

<div class="mainarea">
	<div class="maininner">
		<div class="bdrcontent">
			<div class="title"><h3>数据统计</h3></div>
			<p>数据为每2小时自动更新一次，如果想得到最新数据请选择左侧菜单更新缓存来更新</p>
		</div>
		<br />
		
		<div class="bdrcontent">

			<div class="title">
				<h3>用户统计</h3>
			</div>
			<table>
				<tr><th width="80">用户总数:</th><td>{$user_num}</td></tr>
				<tr><th width="80">作品总数:</th><td>{$work_num}</td></tr>
				<tr><th width="80">用户删除作品:</th><td>{$work_del_num}</td></tr>
				<tr><th width="80">未审核作品:</th><td>{$work_noauth_num}</td></tr>
				<tr><th width="80">已审核作品:</th><td>{$work_auth_num}</td></tr>
				<tr><th width="80">推荐作品:</th><td>{$work_tuijian_num}</td></tr>
				<tr><th width="80">评论数:</th><td>{$comment_num}</td></tr>
				<tr><th width="80">我说数:</th><td>{$talk_num}</td></tr>

			</table>
		</div><br />
		<div class="bdrcontent">
			<div class="title"><h3>粉丝排行</h3></div>
			<table class="formtable" cellspacing="5" cellpadding="5">
				<th>排行</th>
				<th>UID</th>
				<th>Email</th>				
				<th>姓名</th>
				<th>关注</th>
				<th>粉丝</th>
				<th>喜欢</th>
				<th>作品</th>
				<th>注册日期</th>
				<!--{loop $fanstop $key $user}-->
				<tr>
					<td><!--{eval echo ($key+1)}--></td>
					<td>{$user[uid]}</td>
					<td>{$user[username]}</td>
					<td><a href="{SITEURL}home/index/{$user[name]} target="_blank"">{$user[name]}</td>
					<td>{$user[follow_count]}</td>
					<td>{$user[fans_count]}</td>
					<td>{$user[likenum]}</td>
					<td>{$user[worknum]}</td>
					<td><!--{date('Y-m-d H:i:s', $user['dateline'])}--></td>
				</tr>
				<!--{/loop}-->	
			</table>
		</div><br />
		
		<div class="bdrcontent">
			<div class="title"><h3>作品排行</h3></div>
			<table class="formtable" cellspacing="5" cellpadding="5">
				<th>排行</th>
				<th>UID</th>
				<th>Email</th>				
				<th>姓名</th>
				<th>关注</th>
				<th>粉丝</th>
				<th>喜欢</th>
				<th>作品</th>
				<th>注册日期</th>
				<!--{loop $worktop $key $user}-->
				<tr>
					<td><!--{eval echo ($key+1)}--></td>
					<td>{$user[uid]}</td>
					<td>{$user[username]}</td>
					<td><a href="{SITEURL}home/index/{$user[name]} target="_blank"">{$user[name]}</td>
					<td>{$user[follow_count]}</td>
					<td>{$user[fans_count]}</td>
					<td>{$user[likenum]}</td>
					<td>{$user[worknum]}</td>
					<td><!--{date('Y-m-d H:i:s', $user['dateline'])}--></td>
				</tr>
				<!--{/loop}-->
			</table>
		</div><br />
		
	</div>
	<br>
</div>

<div class="side">
	<!--{template admin/side}-->
</div>

<!--{template admin/footer_tpl}-->